VERSION 1.0 CLASS
BEGIN
  MultiUse = -1  'True
  Persistable = 0  'NotPersistable
  DataBindingBehavior = 0  'vbNone
  DataSourceBehavior  = 0  'vbNone
  MTSTransactionMode  = 0  'NotAnMTSObject
END
Attribute VB_Name = "BIUBSym"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
Attribute VB_Ext_KEY = "SP3DEqpUSSClassType" ,"SYM"
Attribute VB_Ext_KEY = "SP3DV6UpgradeSO" ,"Upgraded by Eqp SO Upgrade Wizard at 7/26/2005-9:30:43 PM"
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
'
'   Copyright (c) 2007, Intergraph Corporation. All rights reserved.
'
'   File:           BIUBSym.cls
'   ProgID:         SP3DUtilBlowerBIUBAsm.BIUBSym
'   Author:         CSA, Inc.
'   Creation Date:  Thursday, April 26 2007
'
'   Description:
'   This is Utility Blower Model BIUB Assembly.
'   This Assembly Uses One Aspect
'   No.Of Aspects       Name of Aspect               No.of Outputs
'      1                Physical                             1
'
'   Change History:
'   dd.mmm.yyyy     who                     change description
'   -----------     ---                     ------------------
'
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Option Explicit

Private Const MODULE = "BIUBSym:"  'Used for error messages
Private m_oSymbolHelper As IJSymbolHelper
Private Const E_FAIL = &H80004005
    
' Declaration of the User Symbol Services interface
Implements IJDUserSymbolServices

Private Sub Class_Initialize()
    Const METHOD = "Class_Initialize:"
    On Error GoTo Errx
    
    Set m_oSymbolHelper = New SymbolServices
    m_oSymbolHelper.ProjectName = "SP3DUtilBlowerBIUBAsm"
    m_oSymbolHelper.ClassName = "BIUBSym"

    'Inputs Section
    m_oSymbolHelper.NumInputs = 18
    
    m_oSymbolHelper.AddInputDef 1, "OutsideHeightofHousing", "A-Outside Height of Housing", 0.3302
    m_oSymbolHelper.AddInputDef 2, "OutsideWidthofHousing", "B-Outside Width of Housing", 0.24765
    m_oSymbolHelper.AddInputDef 3, "InletDiameter", "C-Inlet Diameter", 0.33655
    m_oSymbolHelper.AddInputDef 4, "CentertoBottom", "D-Center to Bottom", 0.3683
    m_oSymbolHelper.AddInputDef 5, "DischargeFlangeWidth", "DX-Discharge Flange Width", 0.0254
    m_oSymbolHelper.AddInputDef 6, "BottomBoxWidth", "GC-Bottom Box Width", 0.2032
    m_oSymbolHelper.AddInputDef 7, "Length", "H-Length", 0.61595
    m_oSymbolHelper.AddInputDef 8, "CentertoEndofOutletNozzle", "HA-Center to End of Outlet Nozzle", 0.24765
    m_oSymbolHelper.AddInputDef 9, "CentertoTopofOutlet", "HC-Center to Top of Outlet", 0.354076
    m_oSymbolHelper.AddInputDef 10, "CentertoBackSideofHousing", "HE-Center to Back Side of Housing", 0.268224
    m_oSymbolHelper.AddInputDef 11, "CentertoEndofHousing", "HJ-Center to End of Housing", 0.23495
    m_oSymbolHelper.AddInputDef 12, "CentertoTopofOutletNozzle", "HN-Center to Top of Outlet Nozzle", 0.328676
    m_oSymbolHelper.AddInputDef 13, "DistInlettoCenterofHousing", "J-Dist. Inlet to Center of Housing", 0.188976
    m_oSymbolHelper.AddInputDef 14, "FacetoCenterofHousing", "P-Face to Center of Housing", 0.50165
    m_oSymbolHelper.AddInputDef 15, "CentofFantoCentofDisch", "Q-Cent.of Fan to Cent.of Disch", 0.163576
    m_oSymbolHelper.AddInputDef 16, "ShaftDiameter", "SD-Shaft Diameter", 0.0254
    m_oSymbolHelper.AddInputDef 17, "XBoltHole", "HX-Hole Bolt X Location", 0.2032
    m_oSymbolHelper.AddInputDef 18, "YBoltHole", "HY-Hole Bolt Y Location", 0.307975

    'Outputs Section
    m_oSymbolHelper.NumOutputs = 6

    m_oSymbolHelper.AddOutputDef 1, "BodyCylinder", "Body Cylinder", SimplePhysical
    m_oSymbolHelper.AddOutputDef 2, "BodyBox_", "Body Box", SimplePhysical
    m_oSymbolHelper.AddOutputDef 3, "ShaftCylinder", "Shaft Cylinder", SimplePhysical
    m_oSymbolHelper.AddOutputDef 4, "SmallBottomBox", "Small Bottom Box", SimplePhysical
    m_oSymbolHelper.AddOutputDef 5, "BasePlate", "Base Plate", SimplePhysical
    m_oSymbolHelper.AddOutputDef 6, "EqpFoundationPort", "Equipment Foundation Port", SimplePhysical

    'Aspects Section
    m_oSymbolHelper.NumAspects = 1

    m_oSymbolHelper.AddAspectDef 1, "Physical", "Physical", SimplePhysical
    
    Exit Sub
Errx:
    Err.Raise Err.Number, Err.Source & " " & METHOD, Err.Description, _
        Err.HelpFile, Err.HelpContext
End Sub

Private Sub Class_Terminate()
    
    Set m_oSymbolHelper = Nothing

End Sub

'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
'
'NOTE: The code below this line was generated by the Symbol Wizard and should not be modified
'
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Public Function IJDUserSymbolServices_InstanciateDefinition( _
                ByVal CodeBase As String, _
                ByVal defParameters As Variant, _
                ByVal ActiveConnection As Object) As Object
    
' This method is in charge of the creation of the symbol definition object
    Const METHOD = "IJDUserSymbolServices_InstanciateDefinition:"
    On Error GoTo Errx
    
    Set IJDUserSymbolServices_InstanciateDefinition = m_oSymbolHelper.InstanciateDefinition(CodeBase, defParameters, ActiveConnection)
    Exit Function

Errx:
    Err.Raise Err.Number, Err.Source & " " & METHOD, Err.Description, _
        Err.HelpFile, Err.HelpContext
End Function

Public Function IJDUserSymbolServices_GetDefinitionName(ByVal definitionParameters As Variant) As String
    Const METHOD = "IJDUserSymbolServices_GetDefinitionName:"
    On Error GoTo Errx
    
    IJDUserSymbolServices_GetDefinitionName = m_oSymbolHelper.ProjectName + "." + m_oSymbolHelper.ClassName
    Exit Function
    
Errx:
    Err.Raise Err.Number, Err.Source & " " & METHOD, Err.Description, _
        Err.HelpFile, Err.HelpContext
End Function

Public Sub IJDUserSymbolServices_InitializeSymbolDefinition(ByRef pSymbolDefinition As IJDSymbolDefinition)
    
    Const METHOD = "IJDUserSymbolServices_InitializeSymbolDefinition:"
    On Error GoTo Errx
   
    m_oSymbolHelper.InitializeSymbolDefinition pSymbolDefinition
    Exit Sub

Errx:
    Err.Raise Err.Number, Err.Source & " " & METHOD, Err.Description, _
        Err.HelpFile, Err.HelpContext
End Sub

Public Sub IJDUserSymbolServices_InvokeRepresentation(ByVal sblOcc As Object, _
                    ByVal repName As String, _
                    ByVal outputcoll As Object, _
                    ByRef arrayOfInputs())
    
    Const METHOD = "IJDUserSymbolServices_InvokeRepresentation:"
    On Error GoTo Errx
    
    m_oSymbolHelper.InvokeRepresentation sblOcc, repName, outputcoll, arrayOfInputs
    Exit Sub

Errx:
    Err.Raise Err.Number, Err.Source & " " & METHOD, Err.Description, _
        Err.HelpFile, Err.HelpContext
End Sub

Public Function IJDUserSymbolServices_EditOccurence(ByRef pSymbolOccurence As Object, ByVal transactionMgr As Object) As Boolean
    Const METHOD = "IJDUserSymbolServices_EditOccurence:"
    On Error GoTo Errx
    ' The definition uses the generic EditOccurrence command
    IJDUserSymbolServices_EditOccurence = False
    Exit Function
    
Errx:
    Err.Raise Err.Number, Err.Source & " " & METHOD, Err.Description, _
        Err.HelpFile, Err.HelpContext
End Function
